package com.flyco.modules.stm.vo;

import java.util.List;
import com.flyco.modules.stm.entity.StmPrintTemplate;
import com.flyco.modules.stm.entity.StmPrintContent;
import lombok.Data;
import com.flyco.poi.excel.annotation.Excel;
import com.flyco.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * @Description: 打印模板
 * @Author: flyco
 * @Date:   2020-10-27
 * @Version: V1.0
 */
@Data
@ApiModel(value="stm_print_templatePage对象", description="打印模板")
public class StmPrintTemplatePage {

	/**id*/
	private Long id;
	/**模板编码*/
  	@Excel(name = "模板编码", width = 15)
	private String code;
	/**模板名称*/
  	@Excel(name = "模板名称", width = 15)
	private String name;
	/**模板预览图片*/
  	@Excel(name = "模板预览图片", width = 15)
	private String pic;
	/**业务类型：order-销售小票，维修小票，return-退货小票，exchange-换货小票，自提小票*/
  	@Excel(name = "业务类型：order-销售小票，维修小票，return-退货小票，exchange-换货小票，自提小票", width = 15)
	private String bizType;
	/**创建人*/
  	@Excel(name = "创建人", width = 15)
	private String createBy;
	/**创建时间*/
  	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date createTime;
	/**更新人*/
  	@Excel(name = "更新人", width = 15)
	private String updateBy;
	/**更新时间*/
  	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date updateTime;

	@ExcelCollection(name="打印模板内容")
	@ApiModelProperty(value = "打印模板内容")
	private List<StmPrintContent> stmPrintContentList;
	
}
